@import (reference) '~styles/mixins.less';
.toilet-container{
  width: 100%;
  display: flex;
  flex-direction: column;

  .banner{
    width: 100%;
    height: 210px;
    flex: 0 0 210px;
    .blank-box{
        width: 108px;
        height: 108px;
        background: #f4f4f4;
        margin: 0 auto;
        display:block;
    }
    .text{
        color: #9b9b9b;
        font-size: 14px;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 16px;
    }
  }

  .toilet-info-container{
    display: flex;
    flex-direction: column;

    .base-info{
      display: flex;
      flex-direction: column;
      margin: 0 15px;
      padding: 20px 0 0 0; 
      //border-bottom: 1rpx solid rgba(189,189,189,0.3);
      .name{
        display: flex;
        font-size: 18px;
        font-weight: 600;
        color: #4a4a4a;
        margin-bottom: 18px;
        .name-text{
          overflow : hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          width: 260px;
          line-height: 25px;
        }
        .complaint-btn{
          display: flex;
          margin-right: 0;
          align-items: center;
          justify-content: center;
          width: 46px;
          flex: 0 0 46px;
          height: 25px;
          font-size: 13px;
          color: #ffffff;
          border-radius: 2.5px;
          background-color: #1abed5; 
          padding: 0;
        }
      }
      .other-info{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        .tags{
          display: flex;
          flex-direction: row;
          //align-items: center;
          flex-wrap: wrap;
          height: 25px;
          overflow: hidden;
          position: relative;
          //margin-bottom: 20px;
          width: 100%;
          .tag{
            .wii-center-flex;
            // width: 63px;
            // flex: 0 0 63px;
            height: 26px;
            box-sizing: border-box;
            padding: 6px 8px;
            font-size: 13px;
            font-weight: 300;
            line-height: 1;
            border-radius: 2.5px;
            margin-right: 5px;
            /*margin-bottom: 5px;*/
            border: 1rpx solid rgba(204, 204, 204, 0.6);
            color: #4a4a4a;
          }
          .tag:last-child{
            margin-right: 0;
          }
          // .tag:nth-child(5){
          //   margin-right: 0;
          // }

          .tag-green{
            border-color: #abe0cf;
            color: #3fc298;
          }

          .pick-up-container{
            display: inline-block;
            position: absolute;
            width: 25px;
            height: 25px;
            top:0px;
            right:-1px;
          }
          .pick-up{
            width: 25px;
            height: 25px;
            flex: 0 0 25px;
          }
        
        }
//      .tags{
//        display: flex;
//        flex-direction: row;
//        align-items: center;
//        flex-wrap: wrap;
//        width: 100%;
//        .tag{
//          display: flex;
//          flex-direction: row;
//          align-items: center;
//          justify-content: center;
//          padding:0 8px ;
////          width: 63px;
////          flex: 0 0 63px;
//          height: 25px;
//          font-size: 13px;
//          font-weight: 300;
//          line-height: 1;
//          border-radius: 2.5px;
//          margin-right: 6px;
//          // margin-top: 2px;
//          margin-bottom: 2px;
//          border: 1rpx solid rgba(204, 204, 204, 0.6);
//          color: #4a4a4a;
//        }
//        .tag:last-child{
//          margin-right: 0;
//        }
//        .tag:nth-child(5){
//          margin-right: 0;
//        }
//      }
        
        .btn-more{
          justify-content: flex-end;
        }
      }
    }

    .pits-container{
      display: flex;
      flex-direction: column;
      margin: 0 15px;
      padding-bottom: 48.5px;
      box-sizing: border-box;
      //height: 116px;
      position: relative;

      .box-container{
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 15px;
        .type-box{
            width: 67px;
            display: flex;
            justify-content:space-between;
           .box-container__type{
             display: block;
            font-size: 13px;
            font-weight: 300;
            line-height: 1;
            color: #3d3d3d;
            //margin-right: 14.5px;
        }
       }
        
        .box-container__content{
          display: flex;
          flex-direction: row;
          .item{
            display: flex;
            flex-direction: row;
            align-items: center;
            //margin-right: 30px;
            font-size: 13px;
            font-weight: 300;
            color: #3d3d3d;
            .text{
               margin-right: 17px;
                &.green{
                   color: #3fc298;  
                }
                &.yellow{
                   color:#fb9243;
                } 
                &.red{
                   color:#fc3824;
                }
                text{
                   color:#fb9243; 
                }
            }
             
            .text:last-child{
                margin-right: 0;
            }
          }
        }
      }
  
      .pick-up-container{
        display: inline-block;
        position: absolute;
        width: 25px;
        height: 25px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        
      }
      .pick-up{
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
      }

    }
    .pits-detail-container{
      display: flex;
      flex-direction: column;
      height: 0;
     // max-height: 500px;
      width: 100%;
      overflow:hidden;
    
      .pits-show{
        display: flex;
        flex-direction: row;
        margin-top: 12px;

        .pits-man-container{
          flex: 1;
          display: flex;
          flex-direction: column;
          .pits-man-title{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            
            image{
              width: 13px;
              height: 21px;
              margin-right: 5px;
            }
            text{
              font-size: 14px;
              color: #2a2a2a;
            }
          }
          .pits-man-item-container{
            border-right: 1rpx solid rgba(216, 216, 216, 0.8);
            padding-left: 15px;
            padding-right: 20.5px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            margin-top: 20px;

            .pits-man-item{
              width: 25%;
              margin-top: 20px;
              text-align:center;
              image{
                display: block;
                width: 24px;
                height: 24px;
                margin:0 auto;
              }
              text{
                display: block;
                margin-top: 9px;
                font-size: 12px;
                font-weight: 300;
                color: #3d3d3d;
              }
            }
            .pits-man-item:nth-child(1),
            .pits-man-item:nth-child(2),
            .pits-man-item:nth-child(3),
            .pits-man-item:nth-child(4){
              margin-top: 0;
            }
            // .pits-man-item:nth-child(5n){
            //   margin-bottom: 0;
            // }
          }
        }
        .pits-man-container:last-child{

          .pits-man-item-container{
            padding-left: 20.5px;
            padding-right: 15px;
            border-right: none;
          }
        }
      }
      .pits-tips{
        display: flex;
        flex-direction: row;
        align-items: center;
        //justify-content: space-between;
        //margin: 20px 20px;
        justify-content: space-around;
        margin: 20px 60px;
        .tip{
          display: flex;
          flex-direction: row;
          align-items: center;
          //margin-right: 25px;
          line-height: 1;
          .dot{
            width: 8px;
            height: 8px;
            border-radius: 100%;
            margin-right: 6px;
          }
          .red{
            background-color: #ff6867;
          }
          .green{
            background-color: #2dcdac;
          }
          .gray{
            background-color: #d0cbcb;
          }
          text{
            font-size: 13px;
            font-weight: 300;
            color: #959595;
          }
        }
        .tip:last-child{
          margin-right: 0;
        }
      }
    }
    .no-map{
        display: none!important;
    }
    .map{
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 704rpx;
      position: relative;
      
      // .pits-detail-container{
      //   display: flex;
      //   flex-direction: column;
      //   height: 0;
      //   max-height: 500px;
      //   width: 100%;
      //   overflow:hidden;
      //   background-color: #fff;
      
      //   .pits-show{
      //     display: flex;
      //     flex-direction: row;
      //     margin-top: 12px;

      //     .pits-man-container{
      //       flex: 1;
      //       display: flex;
      //       flex-direction: column;
      //       .pits-man-title{
      //         display: flex;
      //         flex-direction: row;
      //         align-items: center;
      //         justify-content: center;
              
      //         cover-image{
      //           width: 13px;
      //           height: 21px;
      //           margin-right: 5px;
      //         }
      //         cover-view{
      //           font-size: 14px;
      //           color: #2a2a2a;
      //         }
      //       }
      //       .pits-man-item-container{
      //         border-right: 1rpx solid rgba(216, 216, 216, 0.8);
      //         padding-left: 15px;
      //         padding-right: 20.5px;
      //         display:block;

      //         margin-top: 20px;

      //         .pits-man-item{
      //           display: block;
      //           float:left;
      //           // flex-direction: column;
      //           // align-items: center;
      //           // justify-content: center;
      //           overflow: visible;
      //           width: 25%;
      //           margin-top: 20px;
      //           text-align:center;
      //           cover-image{
      //             display: block;
      //             width: 30px;
      //             height: 30px;
      //             margin:0 auto;
      //           }
      //           cover-view{
      //             display: block;
      //             margin-top: 9px;
      //             font-size: 12px;
      //             font-weight: 300;
      //             color: #3d3d3d;
      //           }
      //         }
      //         .pits-man-item:nth-child(1),
      //         .pits-man-item:nth-child(2),
      //         .pits-man-item:nth-child(3),
      //         .pits-man-item:nth-child(4){
      //           margin-top: 0;
      //         }
      //         // .pits-man-item:nth-child(5n){
      //         //   margin-bottom: 0;
      //         // }
      //       }
      //     }
      //     .pits-man-container:last-child{

      //       .pits-man-item-container{
      //         padding-left: 20.5px;
      //         padding-right: 15px;
      //         border-right: none;
      //       }
      //     }
      //   }
      //   .pits-tips{
      //     display: flex;
      //     flex-direction: row;
      //     align-items: center;
      //     justify-content: center;
      //     margin: 25px 0;

      //     .tip{
      //       display: flex;
      //       flex-direction: row;
      //       align-items: center;
      //       margin-right: 35px;
      //       .dot{
      //         width: 8px;
      //         height: 8px;
      //         border-radius: 100%;
      //         margin-right: 6px;
      //       }
      //       .red{
      //         background-color: #ff6867;
      //       }
      //       .green{
      //         background-color: #2dcdac;
      //       }
      //       .gray{
      //         background-color: #d0cbcb;
      //       }
      //       cover-view{
      //         font-size: 13px;
      //         font-weight: 300;
      //         color: #959595;
      //       }
      //     }
      //     .tip:last-child{
      //       margin-right: 0;
      //     }
      //   }
      // }
    }
    .btn{
      width: 100%;
      height: 49px;
      line-height:49px;
      background-color: #28b1cd;
      font-size: 17px;
      color: #fff;
      //margin-top: 15px;
      border-color: transparent;
      border-radius: 0;
      border: none !important;
    }
  }
}
.mask{
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}
.popup-container{
  width: 275px;
  height: 140px;
  overflow: hidden;
  border-radius: 3px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  // justify-content: center;
  align-items: center;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  .logo{
    width: 66px;
    height: 54px;
    margin: 21px 0 13px 0;
    flex: 0 0 54px;

    background-image: url('http://app-1254950508.file.myqcloud.com/wx19c89d9b0ffb9a6f.o6zAJs4RQAEb7Ma2GmlJp-oCNfIw.dfaa34dfc6e8855f4ddd3d6b6c02290f.png');
    -webkit-animation: auto-circle 1.2s step-end infinite;
    background-size: cover;
    background-repeat: repeat-x;
    // background-position-x: -32px; 
  }

  @-webkit-keyframes auto-circle{
    0%{
      background-position-x: -32px;                                   
    }
    10%{
      background-position-x: 99px;
    }
    20%{
      background-position-x: 228px;
    }
    30%{
      background-position-x: 357px;
    }
    40%{
      background-position-x: 486px;
    }
    50%{
      background-position-x: 615px;
    }
    60%{
      background-position-x: 744px;
    }
    70%{
      background-position-x: 873px;
    }
    80%{
      background-position-x: 1002px;
    }
    90%{
      background-position-x: 1131px;
    }
    100%{
      background-position-x: 1262px;
    }
  }
  .title{
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 17px;
    margin-top:20px;
  }
  .sub-title{
    font-size: 14px;
    font-weight: 300;
    color: #000000;

  }
  .btn{
    margin-top: 21px;
    .wii-center-flex;
    width: 100%;
    flex:0 0 48px;
    height: 48px;
    font-size: 16px;
    line-height: 1;
    color: #1abed5;
    border-top: solid 1rpx rgba(189,189,189, 0.3);
  }
}